type IDType = number | string

type NewType = number | string // 结果时never类型

interface IKun {
  name: string,
  age: number
}

interface ICoder {
  name: string,
  coding: () => void
}

const info: IKun & ICoder = {
  name: '张三',
  age: 18,
  coding: function() {
    console.log('coding');
    
  }
}